import { IChechOperation, FieldType } from "../..";

export class SystemFormInput {
  constructor(
    public formCaption: string,
    public formName: string) {

  }
}

export class SystemFormOutput implements IChechOperation {
  IsChecked = false;
  constructor(
    public id: number,
    public formCaption: string,
    public formName: string
  ) {

  }
}

export class SystemFormControlOutput implements IChechOperation {
  IsChecked = false;
  constructor(
    public fieldName: string = '',
    public fieldCaption: string = '',
    public fieldType: number = 0,
    public isRequired: boolean = false,
    public maxLength: number = 0,
    public minLength: number = 0,
    public remoteValid: string = '',
    public remoteData: string = '',
    public sortOrder: number = 1,
    public id: number = 0,
    public isSearchField: boolean = false,
    public loadRemoteDataType = 0,
    public showInForm = true,
    public showInTable = true,
    public canSortable = false,
    public labelRowIndex = 0,
    public lableColIndexpublic = 0,
    public labelRowSpan = 0,
    public labelColSpan = 0,
    public inputRowIndex = 0,
    public inputColIndex = 0,
    public inputRowSpan = 0,
    public inputColSpan = 0,
  ) {

  }
}
